package org.jeecg.modules.ncmeapis.data.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(value = "临时数据添加对象", description = "")
public class DataTempAdd {

    @NotBlank(message = "类别不能为空")
    @ApiModelProperty(value = "类别")
    private String category;
    @NotBlank(message = "键不能为空")
    @ApiModelProperty(value = "键")
    private String name;
    @ApiModelProperty(value = "值")
    private String value;
    @ApiModelProperty(value = "值类型(非必填，默认String，可选：JSONObject,JSONArray,String,Integer,Double,BigDecimal,Boolean)")
    private String type = "String";

}

